package cn.hf.mychat.mapper;

import cn.hf.mychat.config.Result;
import cn.hf.mychat.entity.po.TbSysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<TbSysUser> {
    List<TbSysUser> findAll();

    int updateAll(@Param("list") List<TbSysUser> list);

    List<TbSysUser> findByTime(Date time);

    List<TbSysUser> findByTime(String time);

    void inserts(TbSysUser tbSysUser);
}
